package com.mandy.datamerge.mock.service;

import com.mandy.datamerge.annotation.DataMergeMark;
import com.mandy.datamerge.mock.entity.Position;
import org.springframework.stereotype.Service;

/**
 * @className PositionService
 * @description
 * @author jianyongjie@126.com
 * @date 2020/7/2 10:40 下午
 * @version 1.0.0
 **/
@Service
public class PositionService {

    @DataMergeMark
    public Position getById(Long id) {
        Position position = new Position();
        position.setId(1L);
        position.setName("技术部");
        return position;
    }
}
